package com.jiangyao.component;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Component;

/**
 * Redis工具类
 *
 * @author: yangyongchuan
 * @create: 2020年06月05日 16:37
 */
@Component
public class RedisComponent extends RedisBaseComponent {
	@Autowired
	private RedisTemplate<String, Object> redisTemplate;

	@Override
	public RedisTemplate<String, Object> getRedisTemplate() {
		return this.redisTemplate;
	}

}
